<div class="login">
	<form id="login_form" method="post" action="<|URL>/login/">
		<table>
            <tr>
                <td>
			        <label for="login_name">Username/E-mail: </label>
                </td>
                <td>
			        <input type="text" id="login_name" name="login_name" size="20" />
		        </td>
            </tr>
		    <tr>
                <td>
			        <label for="login_pass">Password: </label>
                </td>
                <td>
			        <input type="password" id="login_pass" name="login_pass" size="20" />
		        </td>
            <tr>
                <td></td>
                <td><input type="submit" value="Login" /></td>
            </tr>
		 </table>
	</form>
</div>
<script type="text/javascript">
    $('#login_form').ajaxForm({
        beforeSubmit: function() {

        },
        success: function(response) {
            alert(response);
        }
    });
</script>